Definition at line 39 of file CTextIO.hpp.
| static bool Exponent::IO::CTextIO::readFile | ( | const CSystemString & | path, | |
| TStringCountedPointerArray & | array | |||
| ) | [static] |
Read a file and stuff it in to string array
| path | The path to the file to read | |
| array | On return contains each line of the file as a seperate string |
| bool | True if read properly, false otherwise |
| static bool Exponent::IO::CTextIO::readFile | ( | const CSystemString & | path, | |
| CString & | string, | |||
| const CString & | endOfLineCharacter = "\n" | |||
| ) | [static] |
Read a file
| path | The path to the file to read | |
| string | On return filled with the entire file as a big array of characters | |
| endOfLineCharacter | The character to use for the end of lines (either '\n' or '\r\n' |
| bool | True if read correctly, false otherwise |
| static bool Exponent::IO::CTextIO::writeFile | ( | const CSystemString & | path, | |
| TStringCountedPointerArray & | array | |||
| ) | [static] |
Write a string array of lines to file
| path | The path to the file to write | |
| array | An array containing individual lines to write to the array |
| bool | True if written correctly, false otherwise |
| static bool Exponent::IO::CTextIO::writeFile | ( | const CSystemString & | path, | |
| const CString & | string | |||
| ) | [static] |
Write a string to the file
| path | The path to the file to write | |
| string | The stirng to write to the file (can be treated as an array of characters) |
| bool | True if written correctly, false otherwise |